<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver DS18B20: src/driver_ds18b20.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver DS18B20
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">DS18B20 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ds18b20_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">driver_ds18b20.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>driver ds18b20 header file  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
</div>
<p><a href="driver__ds18b20_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structds18b20__handle__s.html">ds18b20_handle_s</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 handle structure definition  <a href="structds18b20__handle__s.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structds18b20__info__s.html">ds18b20_info_s</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 info structure definition  <a href="structds18b20__info__s.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga3fe85125e859506571af01e6260cc29d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga3fe85125e859506571af01e6260cc29d">DS18B20_MAX_SEARCH_SIZE</a>&#160;&#160;&#160;64</td></tr>
<tr class="memdesc:ga3fe85125e859506571af01e6260cc29d"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 max search size definition  <a href="group__ds18b20__advance__driver.html#ga3fe85125e859506571af01e6260cc29d">More...</a><br /></td></tr>
<tr class="separator:ga3fe85125e859506571af01e6260cc29d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb6d8c99dd1508afac2d506e0fbba748"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#gaeb6d8c99dd1508afac2d506e0fbba748">DRIVER_DS18B20_LINK_INIT</a>(HANDLE,  STRUCTURE)&#160;&#160;&#160;memset(HANDLE, 0, sizeof(STRUCTURE))</td></tr>
<tr class="memdesc:gaeb6d8c99dd1508afac2d506e0fbba748"><td class="mdescLeft">&#160;</td><td class="mdescRight">initialize ds18b20_handle_t structure  <a href="group__ds18b20__link__driver.html#gaeb6d8c99dd1508afac2d506e0fbba748">More...</a><br /></td></tr>
<tr class="separator:gaeb6d8c99dd1508afac2d506e0fbba748"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga995e0ba6342a4fdd07464acfd3ded21b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#ga995e0ba6342a4fdd07464acfd3ded21b">DRIVER_DS18B20_LINK_BUS_INIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;bus_init = FUC</td></tr>
<tr class="memdesc:ga995e0ba6342a4fdd07464acfd3ded21b"><td class="mdescLeft">&#160;</td><td class="mdescRight">link bus_init function  <a href="group__ds18b20__link__driver.html#ga995e0ba6342a4fdd07464acfd3ded21b">More...</a><br /></td></tr>
<tr class="separator:ga995e0ba6342a4fdd07464acfd3ded21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada03625a3e86545827079d7025dce366"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#gada03625a3e86545827079d7025dce366">DRIVER_DS18B20_LINK_BUS_DEINIT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;bus_deinit = FUC</td></tr>
<tr class="memdesc:gada03625a3e86545827079d7025dce366"><td class="mdescLeft">&#160;</td><td class="mdescRight">link bus_deinit function  <a href="group__ds18b20__link__driver.html#gada03625a3e86545827079d7025dce366">More...</a><br /></td></tr>
<tr class="separator:gada03625a3e86545827079d7025dce366"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9c69affb4d2f518a8dd716a4ae0e582"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#gab9c69affb4d2f518a8dd716a4ae0e582">DRIVER_DS18B20_LINK_BUS_READ</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;bus_read = FUC</td></tr>
<tr class="memdesc:gab9c69affb4d2f518a8dd716a4ae0e582"><td class="mdescLeft">&#160;</td><td class="mdescRight">link bus_read function  <a href="group__ds18b20__link__driver.html#gab9c69affb4d2f518a8dd716a4ae0e582">More...</a><br /></td></tr>
<tr class="separator:gab9c69affb4d2f518a8dd716a4ae0e582"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68d0440d16dd362e2f89bf3c6945d3cd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#ga68d0440d16dd362e2f89bf3c6945d3cd">DRIVER_DS18B20_LINK_BUS_WRITE</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;bus_write = FUC</td></tr>
<tr class="memdesc:ga68d0440d16dd362e2f89bf3c6945d3cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">link bus_write function  <a href="group__ds18b20__link__driver.html#ga68d0440d16dd362e2f89bf3c6945d3cd">More...</a><br /></td></tr>
<tr class="separator:ga68d0440d16dd362e2f89bf3c6945d3cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada3646f54931552e58b3955042b3f3a1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#gada3646f54931552e58b3955042b3f3a1">DRIVER_DS18B20_LINK_DELAY_MS</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;delay_ms = FUC</td></tr>
<tr class="memdesc:gada3646f54931552e58b3955042b3f3a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">link delay_ms function  <a href="group__ds18b20__link__driver.html#gada3646f54931552e58b3955042b3f3a1">More...</a><br /></td></tr>
<tr class="separator:gada3646f54931552e58b3955042b3f3a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad39c2a4f7dba94bfa1c5c60dd9879c4b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#gad39c2a4f7dba94bfa1c5c60dd9879c4b">DRIVER_DS18B20_LINK_DELAY_US</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;delay_us = FUC</td></tr>
<tr class="memdesc:gad39c2a4f7dba94bfa1c5c60dd9879c4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">link delay_us function  <a href="group__ds18b20__link__driver.html#gad39c2a4f7dba94bfa1c5c60dd9879c4b">More...</a><br /></td></tr>
<tr class="separator:gad39c2a4f7dba94bfa1c5c60dd9879c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05c7f541eb13b7fc53e17e88c4dec347"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#ga05c7f541eb13b7fc53e17e88c4dec347">DRIVER_DS18B20_LINK_ENABLE_IRQ</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;enable_irq = FUC</td></tr>
<tr class="memdesc:ga05c7f541eb13b7fc53e17e88c4dec347"><td class="mdescLeft">&#160;</td><td class="mdescRight">link enable_irq function  <a href="group__ds18b20__link__driver.html#ga05c7f541eb13b7fc53e17e88c4dec347">More...</a><br /></td></tr>
<tr class="separator:ga05c7f541eb13b7fc53e17e88c4dec347"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02ffa673971e5a9c312a49db319a1a60"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#ga02ffa673971e5a9c312a49db319a1a60">DRIVER_DS18B20_LINK_DISABLE_IRQ</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;disable_irq = FUC</td></tr>
<tr class="memdesc:ga02ffa673971e5a9c312a49db319a1a60"><td class="mdescLeft">&#160;</td><td class="mdescRight">link disable_irq function  <a href="group__ds18b20__link__driver.html#ga02ffa673971e5a9c312a49db319a1a60">More...</a><br /></td></tr>
<tr class="separator:ga02ffa673971e5a9c312a49db319a1a60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69860fef169e92a4e642304244c878be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__link__driver.html#ga69860fef169e92a4e642304244c878be">DRIVER_DS18B20_LINK_DEBUG_PRINT</a>(HANDLE,  FUC)&#160;&#160;&#160;(HANDLE)-&gt;debug_print = FUC</td></tr>
<tr class="memdesc:ga69860fef169e92a4e642304244c878be"><td class="mdescLeft">&#160;</td><td class="mdescRight">link debug_print function  <a href="group__ds18b20__link__driver.html#ga69860fef169e92a4e642304244c878be">More...</a><br /></td></tr>
<tr class="separator:ga69860fef169e92a4e642304244c878be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga98871c12e3fad6c31dae60144c3a51c5"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structds18b20__handle__s.html">ds18b20_handle_s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a></td></tr>
<tr class="memdesc:ga98871c12e3fad6c31dae60144c3a51c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 handle structure definition  <a href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">More...</a><br /></td></tr>
<tr class="separator:ga98871c12e3fad6c31dae60144c3a51c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0d8f59ec1b4c532700951b5039bc839"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structds18b20__info__s.html">ds18b20_info_s</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gaf0d8f59ec1b4c532700951b5039bc839">ds18b20_info_t</a></td></tr>
<tr class="memdesc:gaf0d8f59ec1b4c532700951b5039bc839"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 info structure definition  <a href="group__ds18b20__base__driver.html#gaf0d8f59ec1b4c532700951b5039bc839">More...</a><br /></td></tr>
<tr class="separator:gaf0d8f59ec1b4c532700951b5039bc839"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gaa76e51e2201d4058f4274ca420c165f6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gaa76e51e2201d4058f4274ca420c165f6">ds18b20_mode_t</a> { <a class="el" href="group__ds18b20__base__driver.html#ggaa76e51e2201d4058f4274ca420c165f6a2240dc3e5f913d272861b29b87e06942">DS18B20_MODE_SKIP_ROM</a> = 0x00
, <a class="el" href="group__ds18b20__base__driver.html#ggaa76e51e2201d4058f4274ca420c165f6a6fefdf17cbb1204ac17187e4c6c96eeb">DS18B20_MODE_MATCH_ROM</a> = 0x01
 }</td></tr>
<tr class="memdesc:gaa76e51e2201d4058f4274ca420c165f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 mode enumeration definition  <a href="group__ds18b20__base__driver.html#gaa76e51e2201d4058f4274ca420c165f6">More...</a><br /></td></tr>
<tr class="separator:gaa76e51e2201d4058f4274ca420c165f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3804f6549e6eeb30fc781d36ebbf8fbd"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga3804f6549e6eeb30fc781d36ebbf8fbd">ds18b20_power_mode_t</a> { <a class="el" href="group__ds18b20__base__driver.html#gga3804f6549e6eeb30fc781d36ebbf8fbdaa97a8020f8db2ddfdb22ce3f543001b2">DS18B20_POWER_MODE_PARASITE</a> = 0x00
, <a class="el" href="group__ds18b20__base__driver.html#gga3804f6549e6eeb30fc781d36ebbf8fbdab1abf829bf00979b637436a159283324">DS18B20_POWER_MODE_EXTERNALLY</a> = 0x01
 }</td></tr>
<tr class="memdesc:ga3804f6549e6eeb30fc781d36ebbf8fbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 power mode enumeration definition  <a href="group__ds18b20__base__driver.html#ga3804f6549e6eeb30fc781d36ebbf8fbd">More...</a><br /></td></tr>
<tr class="separator:ga3804f6549e6eeb30fc781d36ebbf8fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a1cab097fcad68347f07f97e1bb2af8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga6a1cab097fcad68347f07f97e1bb2af8">ds18b20_resolution_t</a> { <a class="el" href="group__ds18b20__base__driver.html#gga6a1cab097fcad68347f07f97e1bb2af8a5333ef2c5e5ec44213bf3f40bd9aa50b">DS18B20_RESOLUTION_9BIT</a> = 0x00
, <a class="el" href="group__ds18b20__base__driver.html#gga6a1cab097fcad68347f07f97e1bb2af8a6274d477f2d9d92a62050c3375c361a0">DS18B20_RESOLUTION_10BIT</a> = 0x01
, <a class="el" href="group__ds18b20__base__driver.html#gga6a1cab097fcad68347f07f97e1bb2af8a0396bfa58a01fdd9922771715e1467f6">DS18B20_RESOLUTION_11BIT</a> = 0x02
, <a class="el" href="group__ds18b20__base__driver.html#gga6a1cab097fcad68347f07f97e1bb2af8af2f20b32fccc2658193d818188ae54ca">DS18B20_RESOLUTION_12BIT</a> = 0x03
 }</td></tr>
<tr class="memdesc:ga6a1cab097fcad68347f07f97e1bb2af8"><td class="mdescLeft">&#160;</td><td class="mdescRight">ds18b20 resolution enumeration definition  <a href="group__ds18b20__base__driver.html#ga6a1cab097fcad68347f07f97e1bb2af8">More...</a><br /></td></tr>
<tr class="separator:ga6a1cab097fcad68347f07f97e1bb2af8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga73dc824fee896b24252b86e683618ee8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga73dc824fee896b24252b86e683618ee8">ds18b20_info</a> (<a class="el" href="group__ds18b20__base__driver.html#gaf0d8f59ec1b4c532700951b5039bc839">ds18b20_info_t</a> *info)</td></tr>
<tr class="memdesc:ga73dc824fee896b24252b86e683618ee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">get chip's information  <a href="group__ds18b20__base__driver.html#ga73dc824fee896b24252b86e683618ee8">More...</a><br /></td></tr>
<tr class="separator:ga73dc824fee896b24252b86e683618ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42a0bced6314bc11b3c47f1d83bbff9a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga42a0bced6314bc11b3c47f1d83bbff9a">ds18b20_init</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:ga42a0bced6314bc11b3c47f1d83bbff9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">initialize the chip  <a href="group__ds18b20__base__driver.html#ga42a0bced6314bc11b3c47f1d83bbff9a">More...</a><br /></td></tr>
<tr class="separator:ga42a0bced6314bc11b3c47f1d83bbff9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7b94675deaafbe00917e7e232278c77"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gaa7b94675deaafbe00917e7e232278c77">ds18b20_deinit</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:gaa7b94675deaafbe00917e7e232278c77"><td class="mdescLeft">&#160;</td><td class="mdescRight">close the chip  <a href="group__ds18b20__base__driver.html#gaa7b94675deaafbe00917e7e232278c77">More...</a><br /></td></tr>
<tr class="separator:gaa7b94675deaafbe00917e7e232278c77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b55e1d3f3ba9ca53c3a78c1d8d221b4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga7b55e1d3f3ba9ca53c3a78c1d8d221b4">ds18b20_read</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int16_t *raw, float *temp)</td></tr>
<tr class="memdesc:ga7b55e1d3f3ba9ca53c3a78c1d8d221b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">read data from the chip  <a href="group__ds18b20__base__driver.html#ga7b55e1d3f3ba9ca53c3a78c1d8d221b4">More...</a><br /></td></tr>
<tr class="separator:ga7b55e1d3f3ba9ca53c3a78c1d8d221b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd246c4e8a5887a1acd710dee214323c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gadd246c4e8a5887a1acd710dee214323c">ds18b20_set_mode</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#gaa76e51e2201d4058f4274ca420c165f6">ds18b20_mode_t</a> mode)</td></tr>
<tr class="memdesc:gadd246c4e8a5887a1acd710dee214323c"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the chip mode  <a href="group__ds18b20__base__driver.html#gadd246c4e8a5887a1acd710dee214323c">More...</a><br /></td></tr>
<tr class="separator:gadd246c4e8a5887a1acd710dee214323c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac443f4e1e2ec109676d1842cc7d1e96c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gac443f4e1e2ec109676d1842cc7d1e96c">ds18b20_get_mode</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#gaa76e51e2201d4058f4274ca420c165f6">ds18b20_mode_t</a> *mode)</td></tr>
<tr class="memdesc:gac443f4e1e2ec109676d1842cc7d1e96c"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the chip mode  <a href="group__ds18b20__base__driver.html#gac443f4e1e2ec109676d1842cc7d1e96c">More...</a><br /></td></tr>
<tr class="separator:gac443f4e1e2ec109676d1842cc7d1e96c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cf8a45542f1dfdca17347c0870f870f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga4cf8a45542f1dfdca17347c0870f870f">ds18b20_set_rom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t rom[8])</td></tr>
<tr class="memdesc:ga4cf8a45542f1dfdca17347c0870f870f"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the handle rom  <a href="group__ds18b20__base__driver.html#ga4cf8a45542f1dfdca17347c0870f870f">More...</a><br /></td></tr>
<tr class="separator:ga4cf8a45542f1dfdca17347c0870f870f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4d3d3dd0bc24d0c4fa2822bfbc32f35"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#gaf4d3d3dd0bc24d0c4fa2822bfbc32f35">ds18b20_get_rom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t rom[8])</td></tr>
<tr class="memdesc:gaf4d3d3dd0bc24d0c4fa2822bfbc32f35"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the chip rom  <a href="group__ds18b20__base__driver.html#gaf4d3d3dd0bc24d0c4fa2822bfbc32f35">More...</a><br /></td></tr>
<tr class="separator:gaf4d3d3dd0bc24d0c4fa2822bfbc32f35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93cfb5e6ae40d2595d55aafcd947f4ba"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga93cfb5e6ae40d2595d55aafcd947f4ba">ds18b20_scratchpad_set_resolution</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#ga6a1cab097fcad68347f07f97e1bb2af8">ds18b20_resolution_t</a> resolution)</td></tr>
<tr class="memdesc:ga93cfb5e6ae40d2595d55aafcd947f4ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the resolution in the scratchpad  <a href="group__ds18b20__base__driver.html#ga93cfb5e6ae40d2595d55aafcd947f4ba">More...</a><br /></td></tr>
<tr class="separator:ga93cfb5e6ae40d2595d55aafcd947f4ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e6aa803f8f341dbaeb010e5c4b3ecda"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga1e6aa803f8f341dbaeb010e5c4b3ecda">ds18b20_scratchpad_get_resolution</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#ga6a1cab097fcad68347f07f97e1bb2af8">ds18b20_resolution_t</a> *resolution)</td></tr>
<tr class="memdesc:ga1e6aa803f8f341dbaeb010e5c4b3ecda"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the resolution in the scratchpad  <a href="group__ds18b20__base__driver.html#ga1e6aa803f8f341dbaeb010e5c4b3ecda">More...</a><br /></td></tr>
<tr class="separator:ga1e6aa803f8f341dbaeb010e5c4b3ecda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b16e3c5bee08168be48a615150fe171"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga5b16e3c5bee08168be48a615150fe171">ds18b20_copy_scratchpad_to_eeprom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:ga5b16e3c5bee08168be48a615150fe171"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy the scratchpad content to the eeprom  <a href="group__ds18b20__base__driver.html#ga5b16e3c5bee08168be48a615150fe171">More...</a><br /></td></tr>
<tr class="separator:ga5b16e3c5bee08168be48a615150fe171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga511d72a8988b7dc7dc09bd82ab3cfde3"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__base__driver.html#ga511d72a8988b7dc7dc09bd82ab3cfde3">ds18b20_copy_eeprom_to_scratchpad</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle)</td></tr>
<tr class="memdesc:ga511d72a8988b7dc7dc09bd82ab3cfde3"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy the eeprom content to the scratchpad  <a href="group__ds18b20__base__driver.html#ga511d72a8988b7dc7dc09bd82ab3cfde3">More...</a><br /></td></tr>
<tr class="separator:ga511d72a8988b7dc7dc09bd82ab3cfde3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdec4dca56e47a203832ffcd1d71b2f0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#gacdec4dca56e47a203832ffcd1d71b2f0">ds18b20_scratchpad_set_alarm_threshold</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int8_t threshold_high, int8_t threshold_low)</td></tr>
<tr class="memdesc:gacdec4dca56e47a203832ffcd1d71b2f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the alarm threshold in the scratchpad  <a href="group__ds18b20__advance__driver.html#gacdec4dca56e47a203832ffcd1d71b2f0">More...</a><br /></td></tr>
<tr class="separator:gacdec4dca56e47a203832ffcd1d71b2f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe12d7ad8c1a4812239d2d85e0536a0d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#gabe12d7ad8c1a4812239d2d85e0536a0d">ds18b20_scrachpad_get_alarm_threshold</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int8_t *threshold_high, int8_t *threshold_low)</td></tr>
<tr class="memdesc:gabe12d7ad8c1a4812239d2d85e0536a0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the alarm threshold in the scratchpad  <a href="group__ds18b20__advance__driver.html#gabe12d7ad8c1a4812239d2d85e0536a0d">More...</a><br /></td></tr>
<tr class="separator:gabe12d7ad8c1a4812239d2d85e0536a0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad27eacce4379fb8aa528645be258b698"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#gad27eacce4379fb8aa528645be258b698">ds18b20_alarm_convert_to_register</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, float temp, int8_t *reg)</td></tr>
<tr class="memdesc:gad27eacce4379fb8aa528645be258b698"><td class="mdescLeft">&#160;</td><td class="mdescRight">convert the alarm temperature to the register data  <a href="group__ds18b20__advance__driver.html#gad27eacce4379fb8aa528645be258b698">More...</a><br /></td></tr>
<tr class="separator:gad27eacce4379fb8aa528645be258b698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11bfd128f97051bc0e2775bf6dda64f5"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga11bfd128f97051bc0e2775bf6dda64f5">ds18b20_alarm_convert_to_data</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, int8_t reg, float *temp)</td></tr>
<tr class="memdesc:ga11bfd128f97051bc0e2775bf6dda64f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">convert the register data to the alarm temperature  <a href="group__ds18b20__advance__driver.html#ga11bfd128f97051bc0e2775bf6dda64f5">More...</a><br /></td></tr>
<tr class="separator:ga11bfd128f97051bc0e2775bf6dda64f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b1500ff71c4d2a2ba63825b639ae808"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga7b1500ff71c4d2a2ba63825b639ae808">ds18b20_search_rom</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t(*rom)[8], uint8_t *num)</td></tr>
<tr class="memdesc:ga7b1500ff71c4d2a2ba63825b639ae808"><td class="mdescLeft">&#160;</td><td class="mdescRight">search the ds18b20 rom  <a href="group__ds18b20__advance__driver.html#ga7b1500ff71c4d2a2ba63825b639ae808">More...</a><br /></td></tr>
<tr class="separator:ga7b1500ff71c4d2a2ba63825b639ae808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga384c1500974d1390b4113f5b474774e5"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga384c1500974d1390b4113f5b474774e5">ds18b20_search_alarm</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, uint8_t(*rom)[8], uint8_t *num)</td></tr>
<tr class="memdesc:ga384c1500974d1390b4113f5b474774e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">search the ds18b20 alarm rom  <a href="group__ds18b20__advance__driver.html#ga384c1500974d1390b4113f5b474774e5">More...</a><br /></td></tr>
<tr class="separator:ga384c1500974d1390b4113f5b474774e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga508a88dccd8b9b8ddbff04c7e867fd5f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ds18b20__advance__driver.html#ga508a88dccd8b9b8ddbff04c7e867fd5f">ds18b20_get_power_mode</a> (<a class="el" href="group__ds18b20__base__driver.html#ga98871c12e3fad6c31dae60144c3a51c5">ds18b20_handle_t</a> *handle, <a class="el" href="group__ds18b20__base__driver.html#ga3804f6549e6eeb30fc781d36ebbf8fbd">ds18b20_power_mode_t</a> *power_mode)</td></tr>
<tr class="memdesc:ga508a88dccd8b9b8ddbff04c7e867fd5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the power mode  <a href="group__ds18b20__advance__driver.html#ga508a88dccd8b9b8ddbff04c7e867fd5f">More...</a><br /></td></tr>
<tr class="separator:ga508a88dccd8b9b8ddbff04c7e867fd5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>driver ds18b20 header file </p>
<p>Copyright (c) 2015 - present LibDriver All rights reserved</p>
<p>The MIT License (MIT)</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<dl class="section version"><dt>Version</dt><dd>2.0.0 </dd></dl>
<dl class="section author"><dt>Author</dt><dd>Shifeng Li </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2021-04-06</dd></dl>
<h3>history</h3>
<table class="doxtable">
<tr>
<th>Date </th><th>Version </th><th>Author </th><th>Description </th></tr>
<tr>
<td>2021/04/06 </td><td>2.0 </td><td>Shifeng Li </td><td>format the code </td></tr>
<tr>
<td>2020/12/20 </td><td>1.0 </td><td>Shifeng Li </td><td>first upload </td></tr>
</table>

<p class="definition">Definition in file <a class="el" href="driver__ds18b20_8h_source.html">driver_ds18b20.h</a>.</p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="driver__ds18b20_8h.html">driver_ds18b20.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
